<extend name="layouts/master" />
<block name="js">
  <script src="__PUBLIC__/Admin/assets/js/view/w_article_function.js"></script>
</block>
<block name="main">
  <div class="am-u-sm-8 w_content">
    <header class="hero background-sky">
      <h1 class="hero-title "><label>woddp</label> 管理系统</h1><div class="clear">
    </div>
    </header>
    <div class="w_content_nav">
      <ol class="am-breadcrumb w-breadcrumb">
        <li><a href="#" class="am-icon-home">首页</a></li>
        <li><a href="#">分类</a></li>
        <li class="am-active">内容</li>
      </ol>
    </div>
    <div class="w_content_tab" >
      <div class="w_nav">
        <a href="{:U('article/add')}" class="am-btn am-btn-primary am-round"  style="float:right">添加</a>
        <div style="width:10px"></div>
      </div>

      <div style="clear:both"></div>
      <div style="height:20px"></div>
      <table class="am-table am-table-bordered am-table-striped am-table-compact">
        <thead>
        <tr >
          <th>选择</th>
          <th>文章名称</th>
          <th>简介</th>
          <th>创建时间</th>
          <th>修改时间</th>
          <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <volist name="articles" id="list">
          <tr >
            <td style="text-align:center"><input type="radio" value="{$list.id}" /></td>
            <td>{$list.title}</td>
            <td>{$list.intro}</td>
            <td>{$list.create_time}</td>
            <td>{$list.update_time}</td>
            <td> </td>
          </tr>
        </volist>
        </tbody>
      </table>
    </div>
  </div>
</block>